#include "mymath.h"

int addToTarget(int from, int to)
{
    int ret = 0;
    for(int i = from; i <= to; ++i)
    {
        ret += i;
    }

    return ret;
}